package com.hogocloud.corelibrary.base

import androidx.annotation.Nullable

/**
 * Created by codeest on 2016/8/2.
 * View基类
 */
interface IView {

    //显示dialog
    fun showLoading(@Nullable msg: String)

    //取消dialog
    fun hideLoading()

    //=======  State  =======
    fun stateError()

    fun stateNoNetWork()

    fun stateEmpty()

    fun stateLoading()

    fun stateMain()
}